Programmatically Select DAQmx Physical Channels for Task Configuration

您所在的位置:网站首页 labview physical channel Programmatically Select DAQmx Physical Channels for Task Configuration

Programmatically Select DAQmx Physical Channels for Task Configuration

2023-07-28 19:27| 来源: 网络整理| 查看: 265

Overview

This example demonstrates a programmatic method for selecting available devices on a system for DAQmx task configuration.

  

Description

Employing methods to programmatically select available devices and physical  channel types, allows developers to avoid User input for application deployment. The example below uses the DAQmx System Property Node to isolate the first available Digital Input (DI) lines, and forwards a selected subset for DAQmx Task configuration. This example is meant to be demonstrative of the available System and Device properties that may programmatically be extracted. Further logic may be implemented to isolate specific device names, bus types, or additional I/O types.

 

Requirements

Software

LabVIEW 2012 or compatible NI-DAQmx 9.5.5 or compatible

Hardware

NI Multifunction DAQ Device with at least one counter

Steps to Implement or Execute Code

1.Download the attached VI. 2. Set the DAQ device. 3. Run the VI.

 

Additional Information or References

 搜狗截图17年01月07日1511_4.png

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Patrick Corcoran Application Engineering Specialist | ControlNational Instruments



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3